package cc.wsyw126.java.lambda.java8lambda.MyPractice.chapter4;

/**
 * Created by junpeng.yang on 16/9/12.
 */
public class ParentImpl implements Parent {
    @Override
    public void message(String body) {
        System.out.println(body);
    }

    @Override
    public String getLastMessage() {
        return Chapter4Constants.parentBody;
    }
}
